package com.crk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author com.crk
 * @since 2021-03-25
 */
public class MDoctor extends Model<MDoctor> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "doctor_id", type = IdType.AUTO)
    private Integer doctorId;

    private String doctorName;

    private String doctorLevel;

    private String doctorDepartment;

    private String doctorState;


    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getDoctorLevel() {
        return doctorLevel;
    }

    public void setDoctorLevel(String doctorLevel) {
        this.doctorLevel = doctorLevel;
    }

    public String getDoctorDepartment() {
        return doctorDepartment;
    }

    public void setDoctorDepartment(String doctorDepartment) {
        this.doctorDepartment = doctorDepartment;
    }

    public String getDoctorState() {
        return doctorState;
    }

    public void setDoctorState(String doctorState) {
        this.doctorState = doctorState;
    }

    @Override
    protected Serializable pkVal() {
        return this.doctorId;
    }

    @Override
    public String toString() {
        return "MDoctor{" +
        "doctorId=" + doctorId +
        ", doctorName=" + doctorName +
        ", doctorLevel=" + doctorLevel +
        ", doctorDepartment=" + doctorDepartment +
        ", doctorState=" + doctorState +
        "}";
    }
}
